Ext.define('App.metric.project.view.ProjectOrderReport', {
    extend: 'Ext.tab.Panel',
    tabBar:{height:45,defaults:{height:45,minWidth:100}},
    alias: ['widget.ProjectOrderReport'],
    userCls:'while-header-tab',
    requires: ['App.projectorder.view.ProjectOrderFormPanel'],
    items: [{
        xtype: 'ProjectOrderFormPanel'
    }]
})

window.substringTime = function (time) {
    return time.substring(0, time.indexOf('T'));
}